package main

import (
	"github.com/gin-gonic/gin"
	. "myTaxServer/src"
	. "myTaxServer/src/dataBase"
)
func main() {
	InitDataBase()
	InitRouter()
	Routers.GET("/", func(context *gin.Context) {
		context.JSON(200,gin.H{
			"message":"ok",
		})
	})
	defer Db.Close();
	Routers.Run(":5200") // 开始监听路由
}
